Copy autodocs to hand-implemented methods in RepoExtManual
authorFelix Krull <f_krull@gmx.de>
Tue, 9 Oct 2018 21:11:18 +0000 (23:11 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:53 +0000 (12:53 -0400)
rust-bindings/rust/Makefile

index 0754a8790b8fe60a1a3a14ea115d6f7afb10cfa8..c1dfa142448792ae46c0dbe901d868a8f387db03 100644 (file)
@@ -20,6 +20,11 @@ generate-libostree: gir/libostree update-docs
 # docs
 update-docs: tools/bin/gir tools/bin/rustdoc-stripper
        tools/bin/gir -c conf/libostree.toml -m doc
+       sed -i \
+               -e "s/trait RepoExt::fn list_refs/trait RepoExtManual::fn list_refs/" \
+               -e "s/trait RepoExt::fn list_refs_ext/trait RepoExtManual::fn list_refs_ext/" \
+               -e "s/trait RepoExt::fn traverse_commit/trait RepoExtManual::fn traverse_commit/" \
+               libostree/vendor.md
        tools/bin/rustdoc-stripper -g -o libostree/vendor.md
        rm libostree/vendor.md